#ifndef ___________WARD___LOGICUNIVERSE_CPP
#define ___________WARD___LOGICUNIVERSE_CPP

#include "logicUniverse.h"


void logicUniverse::turn()
{
unsigned int i;

for(i = 0; i < galaxy.size(); i++)
	galaxy[i].turn();


}

vector<int> logicUniverse::allOwned(int id)
{
unsigned int i;
vector <int> ret;

for(i = 0; i < galaxy.size(); i++)
	if(galaxy[i].getOwner() == id)
		ret.push_back(i);


return ret;
}


queue<int> logicUniverse::turnQueue(int id)
{
unsigned int i;
	queue<int> ret;

	for(i = 0; i < galaxy.size(); i++)
		if(galaxy[i].getOwner() == id)
			ret.push(i);
	


	return ret;
}






#endif